﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2.MaxNumber
{
    class MaxNumber
    {
        static void ReadANumbers()
        {
            Console.WriteLine("Input 3 integers:");
            int firstNumber = int.Parse(Console.ReadLine());
            int secondNumber = int.Parse(Console.ReadLine());
            int thirdNumber = int.Parse(Console.ReadLine());
            GetMax(firstNumber, secondNumber, thirdNumber);
        }
        static void GetMax(int a,int b,int c)
        {
            if (a > b && a > c)
            {
                Console.WriteLine("First number: {0} is biggest.",a);
            }
            else if (b > a && b > c)
            {
                Console.WriteLine("Second number: {0} is biggest.", b);
            }
            else if (c > b && c > a)
            {
                Console.WriteLine("Third number: {0} is biggest.", c);
            }
            else if(a==b&&a==c)
            {
                Console.WriteLine("They are equal.");
            }
        }
        
        static void Main(string[] args)
        {
            ReadANumbers();
            
        }

    }
}
